Not in the least.
He's not at all friendly towards his ex-wife.
Used similarly to you're welcome, as a conventional reply to an expression of gratitude.
Thank you for this very thoughtful present. — Not at all.